public Election::countVotes
Description
php
public Election->countVotes ( [array|string|null $tags = null , int|bool $with = true] ): int
Count the number of actual registered and valid votes for this election. This method ignores votes constraints, only valid votes will be counted.
Parameters
tags: array|string|null
Tag in string separated by commas, or an Array.
with: int|bool
Count Votes with this tag or without this tag.
Return value
(int
) Number of valid and registered votes in this election.